package com.example.kt_all.di

import com.example.kt_all.api.AllApi
import com.example.kt_all.repo.AllRepo
import com.example.kt_all.viewmodel.AllViewModel
import com.example.kt_common.network.RetrofitManager
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.dsl.module

/**
 * Created by 小陈 on 2025/4/3.
 * Time: 18:28.
 */
val allModule = module {
    single { RetrofitManager.getService(AllApi::class.java) }
    single { AllRepo(get()) }
    viewModel { AllViewModel(get()) }
}